# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

inherit eutils 

DESCRIPTION="Console-based application to efficiently save raw partition data to an image file."
HOMEPAGE="http://fsarchiver.org/"
SRC_URI="http://sourceforge.net/projects/${PN}/files/${PN}-src/${PV}/${P}.tar.gz/download"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc ~sparc x86"
#IUSE="ssl nologin nls pam static"

DEPEND=""
RDEPEND=""

src_install() {
	emake DESTDIR="${D}" install || die "Install failed"
}
src_unpack() {
	echo ${DISTDIR}
	tar xzf ${DISTDIR}"/"${A}
	#unpack ${A}
	cd "${S}"
	#epatch "${FILESDIR}"/${P}-main.patch || die
}
src_compile() {
	econf  "--disable-lzma"  || die "econf failed"
	emake || die "make failed"
}

